package com.qfedu.yanglao20.entity.guardian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Guardian {

    @ApiModelProperty("监护人id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("监护人姓名")
    private String name;
    @ApiModelProperty("监护人手机号")
    private String phone;
    @ApiModelProperty("关系")
    private String relation;
    @ApiModelProperty("老年人id")
    private Integer AgeId;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
